package com.bw.medical.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bw.medical.entity.TbDepartmentEntity;
import com.bw.medical.entity.TbDiagnoseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bw.medical.vo.Cha;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 诊断表 
 * 
 * @author wj
 * @email sunlightcs@gmail.com
 * @date 2021-08-14 18:10:33
 */
@Mapper
public interface TbDiagnoseDao extends BaseMapper<TbDiagnoseEntity> {


    IPage<TbDiagnoseEntity> getLista(@Param("page") Page<TbDepartmentEntity> page,@Param("docterAge") Integer docterAge, @Param("docterName")String docterName, @Param("docterAudit")Integer docterAudit,@Param("departmentType") Integer departmentType);

    IPage<TbDiagnoseEntity> getList(@Param("page") Page<TbDepartmentEntity> page,@Param("userId") Integer userId);

    IPage<Cha> getPlist(@Param("page")Page<TbDepartmentEntity> page, @Param("docterId")Integer docterId);
}
